package cn.myproject.articletype.mapper;

import cn.myproject.articletype.domian.Article;
import cn.myproject.articletype.query.ArticleQuery;

import java.util.List;

public interface ArticleMapper {
    void addArticle(Article article);

    void updata(Article article);

    Article selectByid(Long id);

    void delectall(List<Long> ids);

    void delectByid(Long id);
    //按名字进行条件查询
    List<Article> selectbyName(ArticleQuery articleQuery);

}
